package com.daxue.eurekaclientuserservice.queue.consumer;

import org.springframework.stereotype.Component;

/**
 * @author daxue0929
 * @date 2021/12/29
 */

@Component
//@RabbitListener(queues = "TestDirectQueue")//监听的队列名称 TestDirectQueue
public class TestConsumer {


//    @RabbitHandler
//    public void process(Map testMessage) {
//        System.out.println("DirectReceiver消费者收到消息  : " + testMessage.toString());
//    }
}
